<!doctype html>
<html lang="zh-cn">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <link rel="shortcut icon" href="/favicon.ico" />
    <link href="./static/ai/css/bootstrap.min.css" rel="stylesheet">
    <script src="./static/ai/js/jquery.min.js"></script>
    <script src="./static/ai/js/bootstrap.bundle.min.js"></script>
    <title>AI助手充值</title>
</head>

<body class="bg-light ready sticky overflow-hidden">

    <div class="container">

        <div class="row">

            <div class="col-12 pt-4" id="app">

                <div class="mb-4 card bg-white border-0 shadow-sm" style="min-height:80vh">
                    <div class="card-body">
                        <div class="d-flex justify-content-center">
                            <div class="rounded-pill position-relative avatar-box vip">
                                <img src="/app/user/upload/avatar/122/122.png" height="96" width="96" class="rounded-pill">
                                                                <div class="bg-success text-white px-3 rounded vip-badge">VIP</div>
                                                            </div>
                        </div>
                        <table class="table mt-4">
                            <tbody>
                                <tr>
                                    <td style="width:100px" class="py-3">昵称</td>
                                    <td class="text-secondary py-3">
                                        limin164@163.com                                    </td>
                                </tr>
                                <tr>
                                    <td class="py-3">用户名</td>
                                    <td class="text-secondary py-3">
                                        limin164@163.com                                    </td>
                                </tr>
                                                                <tr>
                                    <td class="py-3">会员</td>
                                    <td class="text-secondary py-3">
                                        <sapn class="text-success">已开通</sapn>                                    </td>
                                </tr>
                                <tr>
                                    <td class="py-3">到期时间</td>
                                    <td class="text-secondary py-3">2099-12-31 23:59:59 </td>
                                </tr>
                                                            </tbody>
                        </table>
                                             <!--   <div class="d-flex justify-content-center">
                            <div>
                                <a class="btn btn-success" onclick="switchVip()">充值AI会员</a>
                            </div>
                        </div>-->
                                            </div>
                </div>

            </div>

        </div>
    </div>

    <script>
        function switchVip() {
            window.parent.ai.switchModule('vip')
        }
        $(document).click(function() {
            try {
                window.parent.ai.hideAll();
            } catch (e) {}
        });
    </script>
    <style>
        .avatar-box {
            border: 10px solid #ccc;
            padding: 10px;
        }
        
        .avatar-box.vip {
            border: 10px solid #28a745;
        }
        
        .vip-badge {
            border: 10px solid #fff;
            position: absolute;
            bottom: -20px;
            left: 50%;
            transform: translateX(-50%);
        }
    </style>

</body>

</html>